//package com.whfp.coky.ui.entry.model
//
//import android.annotation.SuppressLint
//import android.app.Activity
//import androidx.lifecycle.LifecycleOwner
//import androidx.lifecycle.MutableLiveData
//import androidx.lifecycle.Observer
//import com.whfp.coky.databinding.ActivityActivationBinding
//import com.whfp.coky.databinding.ActivityMainBinding
//import com.whfp.coky.BaseViewModel
//import com.whfp.coky.ui.entry.ActivationAct
//import com.whfp.coky.MainActivity
//import com.whfp.coky.ArticleListBean
//
//class ActivationActVM : BaseViewModel<ActivityActivationBinding>() {
//
//    var articlesData = MutableLiveData<ArticleListBean>()
//
//    fun getArticleList(page: Int, isShowLoading: Boolean = false) {
//        launch({ httpUtil.getArticleList(page) }, articlesData, isShowLoading)
//    }
//
//    @SuppressLint("NotifyDataSetChanged")
//    override fun observe(activity: Activity, owner: LifecycleOwner) {
//        val mContext = activity as ActivationAct
//    }
//}